﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200141D RID: 5149
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TrainPartyTakeBuildLevelAwardScRsp : IMessage<TrainPartyTakeBuildLevelAwardScRsp>, IMessage, IEquatable<TrainPartyTakeBuildLevelAwardScRsp>, IDeepCloneable<TrainPartyTakeBuildLevelAwardScRsp>, IBufferMessage
	{
		// Token: 0x170040EE RID: 16622
		// (get) Token: 0x0600E68B RID: 59019 RVA: 0x00268BAB File Offset: 0x00266DAB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TrainPartyTakeBuildLevelAwardScRsp> Parser
		{
			get
			{
				return TrainPartyTakeBuildLevelAwardScRsp._parser;
			}
		}

		// Token: 0x170040EF RID: 16623
		// (get) Token: 0x0600E68C RID: 59020 RVA: 0x00268BB2 File Offset: 0x00266DB2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TrainPartyTakeBuildLevelAwardScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170040F0 RID: 16624
		// (get) Token: 0x0600E68D RID: 59021 RVA: 0x00268BC4 File Offset: 0x00266DC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TrainPartyTakeBuildLevelAwardScRsp.Descriptor;
			}
		}

		// Token: 0x0600E68E RID: 59022 RVA: 0x00268BCB File Offset: 0x00266DCB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyTakeBuildLevelAwardScRsp()
		{
		}

		// Token: 0x0600E68F RID: 59023 RVA: 0x00268BD4 File Offset: 0x00266DD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyTakeBuildLevelAwardScRsp(TrainPartyTakeBuildLevelAwardScRsp other) : this()
		{
			this.itemList_ = ((other.itemList_ != null) ? other.itemList_.Clone() : null);
			this.retcode_ = other.retcode_;
			this.bJFLLFADCIH_ = other.bJFLLFADCIH_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E690 RID: 59024 RVA: 0x00268C2C File Offset: 0x00266E2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyTakeBuildLevelAwardScRsp Clone()
		{
			return new TrainPartyTakeBuildLevelAwardScRsp(this);
		}

		// Token: 0x170040F1 RID: 16625
		// (get) Token: 0x0600E691 RID: 59025 RVA: 0x00268C34 File Offset: 0x00266E34
		// (set) Token: 0x0600E692 RID: 59026 RVA: 0x00268C3C File Offset: 0x00266E3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemList ItemList
		{
			get
			{
				return this.itemList_;
			}
			set
			{
				this.itemList_ = value;
			}
		}

		// Token: 0x170040F2 RID: 16626
		// (get) Token: 0x0600E693 RID: 59027 RVA: 0x00268C45 File Offset: 0x00266E45
		// (set) Token: 0x0600E694 RID: 59028 RVA: 0x00268C4D File Offset: 0x00266E4D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170040F3 RID: 16627
		// (get) Token: 0x0600E695 RID: 59029 RVA: 0x00268C56 File Offset: 0x00266E56
		// (set) Token: 0x0600E696 RID: 59030 RVA: 0x00268C5E File Offset: 0x00266E5E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BJFLLFADCIH
		{
			get
			{
				return this.bJFLLFADCIH_;
			}
			set
			{
				this.bJFLLFADCIH_ = value;
			}
		}

		// Token: 0x0600E697 RID: 59031 RVA: 0x00268C67 File Offset: 0x00266E67
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TrainPartyTakeBuildLevelAwardScRsp);
		}

		// Token: 0x0600E698 RID: 59032 RVA: 0x00268C78 File Offset: 0x00266E78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TrainPartyTakeBuildLevelAwardScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.ItemList, other.ItemList) && this.Retcode == other.Retcode && this.BJFLLFADCIH == other.BJFLLFADCIH && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E699 RID: 59033 RVA: 0x00268CD8 File Offset: 0x00266ED8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.itemList_ != null)
			{
				num ^= this.ItemList.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.BJFLLFADCIH != 0U)
			{
				num ^= this.BJFLLFADCIH.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E69A RID: 59034 RVA: 0x00268D46 File Offset: 0x00266F46
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E69B RID: 59035 RVA: 0x00268D4E File Offset: 0x00266F4E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E69C RID: 59036 RVA: 0x00268D58 File Offset: 0x00266F58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.itemList_ != null)
			{
				output.WriteRawTag(18);
				output.WriteMessage(this.ItemList);
			}
			if (this.BJFLLFADCIH != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.BJFLLFADCIH);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E69D RID: 59037 RVA: 0x00268DD0 File Offset: 0x00266FD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.itemList_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.ItemList);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.BJFLLFADCIH != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BJFLLFADCIH);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E69E RID: 59038 RVA: 0x00268E40 File Offset: 0x00267040
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TrainPartyTakeBuildLevelAwardScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.itemList_ != null)
			{
				if (this.itemList_ == null)
				{
					this.ItemList = new ItemList();
				}
				this.ItemList.MergeFrom(other.ItemList);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.BJFLLFADCIH != 0U)
			{
				this.BJFLLFADCIH = other.BJFLLFADCIH;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E69F RID: 59039 RVA: 0x00268EBC File Offset: 0x002670BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E6A0 RID: 59040 RVA: 0x00268EC8 File Offset: 0x002670C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 18U)
				{
					if (num != 96U)
					{
						if (num != 104U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.Retcode = input.ReadUInt32();
						}
					}
					else
					{
						this.BJFLLFADCIH = input.ReadUInt32();
					}
				}
				else
				{
					if (this.itemList_ == null)
					{
						this.ItemList = new ItemList();
					}
					input.ReadMessage(this.ItemList);
				}
			}
		}

		// Token: 0x04005B3F RID: 23359
		private static readonly MessageParser<TrainPartyTakeBuildLevelAwardScRsp> _parser = new MessageParser<TrainPartyTakeBuildLevelAwardScRsp>(() => new TrainPartyTakeBuildLevelAwardScRsp());

		// Token: 0x04005B40 RID: 23360
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005B41 RID: 23361
		public const int ItemListFieldNumber = 2;

		// Token: 0x04005B42 RID: 23362
		private ItemList itemList_;

		// Token: 0x04005B43 RID: 23363
		public const int RetcodeFieldNumber = 13;

		// Token: 0x04005B44 RID: 23364
		private uint retcode_;

		// Token: 0x04005B45 RID: 23365
		public const int BJFLLFADCIHFieldNumber = 12;

		// Token: 0x04005B46 RID: 23366
		private uint bJFLLFADCIH_;
	}
}
